/*
 * 进货单明细Repository接口扩展
 */
using System.Collections.Generic;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;

namespace VOL.demo.IRepositories
{
    public partial interface IPurchaseOrderItemModelRepository
    {
        /// <summary>
        /// 根据进货单号获取明细列表（连表查询，返回DTO）
        /// </summary>
        /// <param name="orderCode">进货单号</param>
        /// <returns>包含关联数据的DTO列表</returns>
        Task<List<PurchaseOrderItemDto>> GetItemsWithJoinByOrderCodeAsync(string orderCode);
    }
}

